// pages/post/post-detail/post-detail.js
var postsData = require('../data/data.js')
Page({
    data: {},
    onLoad: function (option) {
        var postId = option.id;
        this.data.currentPostId = postId;
        var postData = postsData.postList[postId];
        this.setData({
            postData: postData
        })
    },
})
